﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="PetShop.Error" StyleSheetTheme="Default" Theme="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Error</title>
    <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>

</head>
<body>
    <form id="form1" runat="server">
    <span><H1>Server Error in PetShop Application.<hr width=100% size=1 color=silver></H1>
 
            <h2> <i><%=Exception.Message%></i> </h2></span>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
             <br><br>
            <b> Exception Details: </b><%=Exception.GetType()%>: <%=Exception.Message%><br><br>
            <br><br>
            <b>Stack Trace:</b>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre><%=Exception.StackTrace%></pre></code>
                  </td>
               </tr>
            </table>
            <br>
            <hr width=100% size=1 color=silver/><b>Version Information:</b>&nbsp;Artech PetShop WCF Demo Version:1.0.0.0;  
            </font>
    </form>
</body>
</html>
